﻿using System.Collections.Generic;

namespace TradeHelp.MaterializedObjectViews.Views.Caches
{
    public interface IViewCache<T> : IEnumerable<T>
    {
        bool TryProcess(ViewMessage<T> viewMessage, out ViewMessage<T> retMessage);

        void Clear();
    }
}